package com.geekca.composition;

// 文章的模板, 格式定义
public abstract class Composition {

    final static String compoTitle= "作文标题";
    final static String compoFirst= "作文第一段";
    final static String compoLast= "作文结尾";



    public final static void title(){
        System.out.println(compoTitle);
    }

    public static void firstPart(){
        System.out.println(compoFirst);
    }

    public abstract void mainPart();

    public static void lastPart(){
        System.out.println(compoLast);
    }

}
